package com.xiangyueEducation.uploaderCloud.pojo.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;


import com.xiangyueEducation.uploaderCloud.pojo.entity.baseEntity.BaseEntityTL;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @TableName user
 */
@TableName(value ="user")
@Data
@EqualsAndHashCode(callSuper = true)
public class User extends BaseEntityTL implements Serializable {


    private String email;

    private String number;

    private String realName;

    private String pwd;

    private Integer roleId;

    private String avatar;

    private String profile;

    private String sex;

    private String school;

    private String province;


    private static final long serialVersionUID = 1L;

    public String toString(){
        return super.toString()+
                "\nemail="+email+
                "\nnumber="+number+
                "\nrealName="+realName+
                "\npwd="+pwd+
                "\nroleId="+roleId+
                "\navatar="+avatar+
                "\nprofile="+profile+
                "\nsex="+sex+
                "\nschool="+school+
                "\nprovince="+province+
                "\n}";
    }
}